package com.iespring.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * uuid工具类， 使用getUuid静态方法即可获得uuid
 * @param null
 * @return
 * @author 杨宇健
 * @since 2022/12/29 10:02
 */

public class UUIDUtils {
    public static String getUUID(){
        return UUID.randomUUID().toString().replace("-", "");
    }
}
